package com.ken.work.apache;


import org.apache.log4j.Logger;

import com.ken.work.apache.mina.HttpServer;
import com.ken.work.apache.mina.HttpServerHandler;

public class MinaManager {
	private static Logger log = Logger.getLogger(MinaManager.class);
	public static String currFilePath="";
	
	public static void main(String[] args) {
		currFilePath=Thread.currentThread().getContextClassLoader().getResource("").getPath().replaceFirst("/", "").replace("//", "");
		log.info("application run path:"+currFilePath);
		HttpServer.getInstance().start(8888);
		
	}
}
